<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>发布页面</title>
<link rel="stylesheet" type="text/css" href="css/global.css" />
<link rel="stylesheet" type="text/css" href="css/index.css" />
<link href="css/fb.css" rel="stylesheet" type="text/css" />



</head>

<body>
<div class="main">
  <div class="topbg">
    <div class="w_960 topimg clearfix">
       <div class="logo"><a href="http://www.haoyouqu.com"><img src="images/logo.png" /></a></div>
      <div class="login"> 
       <div class="hyxx">
            <a href="/my" class="username" title="个人中心">Datou</a>
            <a href="/logout" class="exit" title="退出">退出</a>
            </div>
               <div class="logout hidden">
            <a href="javascript:showLoginForm()" id="logintop">登录</a>
            <a href="/new4/signup">注册</a>
         </div>
      </div>
    </div>
  </div>
  <div class="menubg">
    <div class="w_960">
      <div class="menu">
        <ul>
          <li class="menuout"><a href="" >最新鲜</a></li>
          <li class="menuout tt"><a id="highlight" href=""  class="sub">最好笑</a><a href="/hot" class="submenu" style="display:none">24小时内</a><a href="/hot" class="submenu" style="display:none">7天内</a><a href="/hot" class="submenu" style="display:none">30天内</a></li>
          <li class="menuout"><a href="" class="sub">最热闹</a></li>
          <li class="menuout"><a href="" class="sub2">笑料分类</a></li>
        </ul>
      </div>
      <div class="search">
        <form id="formsearch" name="formsearch" action="/plus/search.php">
          <input type="hidden" value="0" name="kwtype">
          <input name="searchtype" type="hidden" class="search-option" id="search-option">
          <input type="text" class="search_box" name="q" id="textfield" value="请输入关键词..." onfocus="if(this.value=='请输入关键词...'){this.value='';this.style.color='#535353'}" onblur="if(this.value==''){this.value='请输入关键词...';this.style.color='#d8d4ce'}" style="color: #d8d4ce;">
          <input name="" value="" type="submit" class="search_bottom">
        </form>
      </div>
      <div class="scxh fr"><a href="" target="_blank"><span>发布笑话</span></a></div>
    </div>
  </div>
  <div class="mt20"></div>
  <div class="con_main">
    <div class="w_960 clearfix"> 
      <!--fabu-->
<div id="content" class="w960 clearfix">
            <div id="mcpsub">
      <div class="topGr"></div>
      <div id="menuBody">
      	<!-- 内容中心菜单-->
      	        <h2 class="menuTitle" onclick="menuShow('menuFirst')" id="menuFirst_t"><b></b>发布笑料</h2>
        <ul id="menuFirst">
                  <li class="articles"><a href="../member/content_list.php?channelid=1" title="已发布的笑料"><b></b>笑料</a><a href="../member/article_add.php" class="act" title="发表新笑料">发表</a></li>
                </ul>
        <h2 class="menuTitle" onclick="menuShow('menuThird')" id="menuThird_t"><b></b>帐号管理</h2>
        <ul id="menuThird">
        	<li class="icon xxxg"><a href="../member/uploads.php"><b></b>注册信息修改</a></li>
            <li class="icon xgpw"><a href="../member/uploads.php"><b></b>密码修改</a></li>
        </ul>
        
            
      </div>
      <div class="buttomGr"></div>
    </div>
        <!--左侧操作菜单项 -->    <div id="mcpmain">
      <div id="appTab">
        <ul>
          <li class="thisTab"><a href="#"><span>发表笑话</span></a></li>
        </ul>
      </div>
      <form name="addcontent" action="article_add.php" method="post" enctype="multipart/form-data" onsubmit="return checkSubmit();">
        <input type="hidden" name="dopost" value="save">
        <input type="hidden" name="channelid" value="1">
        <div id="post-box">
          <div class="ui-title">
            <h2><strong>发表普通文章</strong></h2>
          </div>
          <div class="ui-cnt">
            <div class="ui-form">
              <div class="ui-tips"> 警告：禁止泛滥发帖，禁止发布大篇幅、类似小说的帖子，违者，给予删除扣积分处罚，严重者禁止发帖！ </div>
              <div class="ui-form-item">
                <label class="ui-label">标题：</label>
                <input name="title" type="text" id="title" value="请输入内容主题" class="ui-input ui-input-title" onfocus="inputAutoClear(this)">
              </div>
              
              <div class="ui-form-item">
                <label class="ui-label">栏目：</label>
                <select name="typeid" size="1">
<option value="0" selected="">请选择栏目...</option>
<option value="1" class="option3">文字笑话</option>
<option value="2" class="option3">搞笑图片</option>
<option value="3" class="option3">搞笑视频</option>
<option value="4" class="option3">动态GIF</option>
</select>                <span style="color:#F00">*</span>(选择你要发布的栏目) </div>
              <input type="hidden" name="dede_addonfields" value="">
<input type="hidden" name="dede_fieldshash" value="5ce12128733d24218befa8fb9a57e7b6">              <div class="ui-form-item" id="post-tags">
                <label class="ui-label">标签：</label>
                <input type="text" placeholder="标签" class="ui-input ui-placeholder" id="tags" name="tags" style="color: rgb(153, 153, 153);">
                <p class="ui-message">最多3个标签，用逗号","（英文格式）分隔</p>
              </div>
              <div class="ui-form-item" id="post-tags-select">
                <div id="tags-select">
                  <p><strong>热门标签</strong> <a href="javascript:;">漫画</a> <a href="javascript:;">内涵</a> <a href="javascript:;">搞笑</a> <a href="javascript:;">吐槽</a> <a href="javascript:;">糗事</a> <a href="javascript:;">狗血</a> <a href="javascript:;">冷笑话</a> <a href="javascript:;">节操</a> <a href="javascript:;">屌丝</a> <a href="javascript:;">整蛊</a> <a href="javascript:;">碉堡了</a> <a href="javascript:;">宠物</a> <a href="javascript:;">萌堆</a> <a href="javascript:;">亮点</a> <a href="javascript:;">基友</a> <a href="javascript:;">正能量</a></p>
                </div>
                <!-- // tags-select --> 
              </div>
              <script type="text/javascript">
$("#tags-select a").click(function() {
	var name = $(this).text();
	if ($("#tags").val()=='标签') $("#tags").val('');
	var tags  = $("#tags").val();
	if (tags.length==0) {
		$("#tags").val(name);return false;
	}
	if (tags.lastIndexOf(name) != -1) {
		return false;
	}
	tags = tags.split(',');
	if (tags.length>2) {
		return false;
	} else {
		$("#tags").val(tags+','+name);
	}
});
</script>
              <div class="ui-form-item" id="post-textarea">
                <div class="ke-container ke-container-default" style="width: 650px;"><div style="display:block;" class="ke-toolbar" unselectable="on"><span class="ke-outline" data-name="source" title="HTML代码" unselectable="on"><span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-source" unselectable="on"></span></span><span class="ke-inline-block ke-separator"></span><span class="ke-outline" data-name="undo" title="后退(Ctrl+Z)" unselectable="on"><span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-undo" unselectable="on"></span></span><span class="ke-outline" data-name="redo" title="前进(Ctrl+Y)" unselectable="on"><span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-redo" unselectable="on"></span></span><span class="ke-outline" data-name="preview" title="预览" unselectable="on"><span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-preview" unselectable="on"></span></span><span class="ke-outline" data-name="cut" title="剪切(Ctrl+X)" unselectable="on"><span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-cut" unselectable="on"></span></span><span class="ke-outline" data-name="copy" title="复制(Ctrl+C)" unselectable="on"><span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-copy" unselectable="on"></span></span><span class="ke-outline" data-name="paste" title="粘贴(Ctrl+V)" unselectable="on"><span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-paste" unselectable="on"></span></span><span class="ke-outline" data-name="plainpaste" title="粘贴为无格式文本" unselectable="on"><span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-plainpaste" unselectable="on"></span></span><span class="ke-outline" data-name="wordpaste" title="从Word粘贴" unselectable="on"><span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-wordpaste" unselectable="on"></span></span><span class="ke-outline" data-name="removeformat" title="删除格式" unselectable="on"><span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-removeformat" unselectable="on"></span></span><span class="ke-outline" data-name="image" title="图片" unselectable="on"><span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-image" unselectable="on"></span></span><span class="ke-outline" data-name="multiimage" title="批量图片上传" unselectable="on"><span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-multiimage" unselectable="on"></span></span><span class="ke-outline" data-name="flash" title="Flash" unselectable="on"><span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-flash" unselectable="on"></span></span><span class="ke-outline" data-name="media" title="视音频" unselectable="on"><span class="ke-toolbar-icon ke-toolbar-icon-url ke-icon-media" unselectable="on"></span></span></div><div style="display: block; height: 321px;" class="ke-edit"><iframe class="ke-edit-iframe" hidefocus="true" frameborder="0" style="width: 100%; height: 321px;"></iframe><textarea class="ke-edit-textarea" hidefocus="true" style="width: 100%; height: 321px; display: none;"></textarea></div><div class="ke-statusbar"><span class="ke-inline-block ke-statusbar-center-icon"></span><span class="ke-inline-block ke-statusbar-right-icon"></span></div></div><textarea id="editor_id" name="body" style="width: 650px; height: 360px; display: none;">您可以在这儿发表笑话与大家分享</textarea>
                <script charset="utf-8" src="/include/kindeditor/kindeditor.js"></script> 
                <script charset="utf-8" src="/include/kindeditor/lang/zh_CN.js"></script> 
                <script>
        KindEditor.ready(function(K) {
                window.editor = K.create('#editor_id');
        });
</script> 
              </div>
              <div class="ui-form-item ui-form-button">
                                <p class="cellBg">
                  <label>验证码：</label>
                  <input name="vdcode" type="text" id="vdcode" maxlength="100" class="intxt" style="width:50px;text-transform:uppercase;">
                  <img src="../include/vdimgck.php" alt="看不清？点击更换" align="absmiddle" style="cursor:pointer" onclick="this.src=this.src+'?'"></p>
                              </div>
              <div class="ui-form-item ui-form-button">
                <p>
                  <button class="button2" type="submit">提交</button>
                  <button class="button2 ml10" type="reset" onclick="location.reload();">重置</button>
                </p>
              </div>
            </div>
            <!-- // ui-form end -->
            
            <div class="post-readme" id="post-readme">
              <h5>发帖须知：</h5>
              <ol>
                <li><span>1.</span>你提交的内容会在我们审核后出现在好有趣上，发布的内容最好为原创，这样小编审核时会更加容易通过，对大量复制网上内容反复发布的用户我们将拒绝审核通过；</li>
                <li><span>2.</span>转载请注明出处；</li>
                <li><span>3.</span>内容版权归好有趣网站所有。</li>
              </ol>
            </div>
          </div>
        </div>
      </form>
      
      <!--主操作区域 --> 
    </div>
  </div>
      <!--fabu end--> 
      
      
    </div>
  </div>
  <!--content end-->
  <div class="footer">
  <div class="w_960"> 
  <p>Copyright © 2013 好有趣笑话网 —www.haoyouqu.com All Right Reserved </p>
  <p>版权所有：haoyouqu.com 苏ICP备11085674号</p>
  </div>
   </div>
  <!--footer end--> 
  
</div>
</body>
</html>
